package org.example.info;

public class Book {
    private Integer id;
    private String name;
    private String publish;
    private Integer store;
    private Integer labelID;
    public Integer getAuthorID() {
        return authorID;
    }

    public void setAuthorID(Integer authorID) {
        this.authorID = authorID;
    }

    private Integer authorID;

    public Integer getLabelID() {
        return labelID;
    }

    public Book(Integer id, String name, String publish, Integer store, Integer labelID, Integer authorID) {
        this.id = id;
        this.name = name;
        this.publish = publish;
        this.store = store;
        this.labelID = labelID;
        this.authorID = authorID;
    }

    public void setLabelID(Integer labelID) {
        this.labelID = labelID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public Integer getStore() {
        return store;
    }

    public void setStore(Integer store) {
        this.store = store;
    }

    @Override
    public String toString() {
        return "book{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", publish='" + publish + '\'' +
                ", store=" + store +
                ", labelID=" + labelID +
                ", authorID=" + authorID +
                '}';
    }
}
